ci-install: add ci_distro
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 29 Nov 2016 13:05:57 +0000 (13:05 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 29 Nov 2016 14:11:50 +0000 (14:11 +0000)
Otherwise, we'll fail (due to set -u) if this parameter variable isn't
passed.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Closes: #600
Approved by: cgwalters

tests/ci-install.sh

index 8111809f78f46a614ec80a6af263d209937151a2..326ab35b9bb171197751ec2d333e8a5844430569 100755 (executable)
@@ -4,6 +4,7 @@ set -euo pipefail
 set -x
 
 NULL=
+: "${ci_distro:=debian}"
 : "${ci_docker:=}"
 : "${ci_in_docker:=no}"
 : "${ci_suite:=jessie}"